<?php
$path ="module/info/trangchu.php";//mac dinh
	$mod = isset($_GET["mod"])?$_GET["mod"]:"";
	$ac = isset($_GET["ac"])?$_GET["ac"]:"";
	if($mod=="info")
	{
		if ($ac=="gioithieu") 
			$path ="module/info/gioithieu.php";
		if ($ac=="lienhe") 
			$path ="module/info/lienhe.php";
		if ($ac=="phivanchuyen") 
			$path ="module/info/phivanchuyen.php";
		if ($ac=="khuyenmai") 
			$path ="module/info/khuyenmai.php";
	}
	if ($mod=="product")
	{
		if ($ac=="loai")
		{ 
			$path ="module/product/product_loai.php";
		}
		if ($ac=="sanpham")
		{
			$path ="module/product/product_sanpham.php";
		}
		if ($ac=="chitiet")
		{
			$path ="module/product/product_chitiet.php";
		}
		if ($ac=="timkiem")
		{
			$path ="module/product/search.php";
		}
		if ($ac=="cart")
		{
			$path ="module/cart/ac_cart.php";
		}
	}
	include $path;

?>